package com.bishe.tax.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 税务登记表 tax_registration
 *
 * @author ruoyi
 * @date 2019-06-23
 */
public class TaxRegistration extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	private Integer txId;
	/**
	 * 单位名称
	 */
	private String txCompany;
	/**
	 * 法定代表人
	 */
	private String txCompanyAddress;
	/**
	 * 证件类型
	 */
	private String txOwner;
	/**
	 * 证件号码
	 */
	private Integer txOwnerIdCardType;
	/**
	 * 经营地点
	 */
	private String txOwnerIdCardNum;
	/**
	 * 登记类型
	 */
	private Integer txType;
	/**
	 * 生产经营方式
	 */
	private Integer txModel;
	/**
	 * 注册资金
	 */
	private BigDecimal txRegisteredCapital;
	/**
	 * 投资总额
	 */
	private BigDecimal txTotalInvestment;
	/**
	 * 生产经营期限
	 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date txEndTime;
	/**
	 * 财务负责人
	 */
	private String txFinancialManager;
	/**
	 * 联系电话
	 */
	private String txPhone;
	/**
	 * 停业id
	 */
	private Integer infoId;

	/**
	 * 流程id
	 */
	private String processInstanceId;

	private Integer status;

	public void setTxId(Integer txId) {
		this.txId = txId;
	}

	public Integer getInfoId() {
		return infoId;
	}

	public void setInfoId(Integer infoId) {
		this.infoId = infoId;
	}

	public Integer getTxId() {
		return txId;
	}

	public void setTxCompany(String txCompany) {
		this.txCompany = txCompany;
	}

	public String getTxCompany() {
		return txCompany;
	}

	public void setTxCompanyAddress(String txCompanyAddress) {
		this.txCompanyAddress = txCompanyAddress;
	}

	public String getTxCompanyAddress() {
		return txCompanyAddress;
	}

	public void setTxOwner(String txOwner) {
		this.txOwner = txOwner;
	}

	public String getTxOwner() {
		return txOwner;
	}

	public void setTxOwnerIdCardType(Integer txOwnerIdCardType) {
		this.txOwnerIdCardType = txOwnerIdCardType;
	}

	public Integer getTxOwnerIdCardType() {
		return txOwnerIdCardType;
	}

	public void setTxOwnerIdCardNum(String txOwnerIdCardNum) {
		this.txOwnerIdCardNum = txOwnerIdCardNum;
	}

	public String getTxOwnerIdCardNum() {
		return txOwnerIdCardNum;
	}

	public void setTxType(Integer txType) {
		this.txType = txType;
	}

	public Integer getTxType() {
		return txType;
	}

	public void setTxModel(Integer txModel) {
		this.txModel = txModel;
	}

	public Integer getTxModel() {
		return txModel;
	}

	public void setTxRegisteredCapital(BigDecimal txRegisteredCapital) {
		this.txRegisteredCapital = txRegisteredCapital;
	}

	public BigDecimal getTxRegisteredCapital() {
		return txRegisteredCapital;
	}

	public void setTxTotalInvestment(BigDecimal txTotalInvestment) {
		this.txTotalInvestment = txTotalInvestment;
	}

	public BigDecimal getTxTotalInvestment() {
		return txTotalInvestment;
	}

	public void setTxEndTime(Date txEndTime) {
		this.txEndTime = txEndTime;
	}

	public Date getTxEndTime() {
		return txEndTime;
	}

	public void setTxFinancialManager(String txFinancialManager) {
		this.txFinancialManager = txFinancialManager;
	}

	public String getTxFinancialManager() {
		return txFinancialManager;
	}

	public void setTxPhone(String txPhone) {
		this.txPhone = txPhone;
	}

	public String getTxPhone() {
		return txPhone;
	}

	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("txId", getTxId())
				.append("txCompany", getTxCompany()).append("txCompanyAddress", getTxCompanyAddress())
				.append("txOwner", getTxOwner()).append("txOwnerIdCardType", getTxOwnerIdCardType())
				.append("txOwnerIdCardNum", getTxOwnerIdCardNum()).append("txType", getTxType())
				.append("txModel", getTxModel()).append("txRegisteredCapital", getTxRegisteredCapital())
				.append("txTotalInvestment", getTxTotalInvestment()).append("txEndTime", getTxEndTime())
				.append("txFinancialManager", getTxFinancialManager()).append("txPhone", getTxPhone()).toString();
	}

	public String getProcessInstanceId() {
		return processInstanceId;
	}

	public void setProcessInstanceId(String processInstanceId) {
		this.processInstanceId = processInstanceId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
}
